/*
 * @Author: wjk
 * @Date: 2020-04-18 10:19:11
 * @LastEditors: wjk
 * @LastEditTime: 2020-11-09 14:25:17
 * @description: file content
 */
// 商品评论

import request from '@/utils/request'
import { requestNew } from '@/utils/request'
/* 获取商品评论 */
export function getCommontList(params = {}, showLoading = false) {
  return request({
    url: '/order-comment/list',
    method: 'get',
    params,
    headers: {
      showLoading
    }
  })
}

/* 获取商品口碑 */
export function getKouList(params = {}, showLoading = false) {
  return requestNew({
    url: '/evaluate-service/app/evaluate/list',
    method: 'get',
    params,
    headers: {
      showLoading
    }
  })
}
